﻿@{
    ViewBag.Title = "Home Page";
}

<h3>Index</h3>

@Html.TextBox("myText")
<button type="button"
    id="myButton"
>
    Can you click me?
</button>

<div class="anim" style="width: 90px; height: 50px; position: absolute;">
    Hello, World!
</div>

@section scripts {
    <script>
        $(function () {
            setTimeout(function () {
                $("#myText").val("Hello, World!");
                $("#myButton").attr("disabled", "disabled");
            }, 3333);
            setInterval(function () {
                $("#myText").toggleClass("blinking");
            }, 999);
        });
    </script>
}